package com.ruoyi.tsjData.domain.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提升机-偏摆测试结果对象 data_tshj_pb_result
 * 
 * @author ruoyi
 * @date 2023-11-07
 */
@ApiModel(value = "提升机-偏摆测试结果对象")
public class DataTshjPbResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 偏摆测试ID */
    private Long pbId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    @ApiModelProperty(value = "测试任务ID")
    private Long dataTaskId;

    /** 测试结果ID */
    @Excel(name = "测试结果ID")
    @ApiModelProperty(value = "测试结果ID")
    private Long dataResultId;

    /** 0左偏摆、1右偏摆、2左右偏摆 */
    @Excel(name = "0左偏摆、1右偏摆、2左右偏摆")
    @ApiModelProperty(value = "0左偏摆、1右偏摆、2左右偏摆")
    private String cshType;

    /** 左偏摆度 */
    @Excel(name = "左偏摆度")
    @ApiModelProperty(value = "左偏摆度")
    private String pianbdLeft;

    /** 右偏摆度 */
    @Excel(name = "右偏摆度")
    @ApiModelProperty(value = "右偏摆度")
    private String pianbdRight;

    /** 运行时间 */
    @Excel(name = "运行时间")
    @ApiModelProperty(value = "运行时间")
    private String yxshj;

    /** 偏摆曲线图Svg*/
    @ApiModelProperty(value = "偏摆曲线图Svg")
    private String pdSvg;

    /** 偏摆曲线图路径 */
    @Excel(name = "偏摆曲线图路径")
    private String pdImg;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setPbId(Long pbId) 
    {
        this.pbId = pbId;
    }

    public Long getPbId() 
    {
        return pbId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setCshType(String cshType) 
    {
        this.cshType = cshType;
    }

    public String getCshType() 
    {
        return cshType;
    }
    public void setPianbdLeft(String pianbdLeft) 
    {
        this.pianbdLeft = pianbdLeft;
    }

    public String getPianbdLeft() 
    {
        return pianbdLeft;
    }
    public void setPianbdRight(String pianbdRight) 
    {
        this.pianbdRight = pianbdRight;
    }

    public String getPianbdRight() 
    {
        return pianbdRight;
    }
    public void setYxshj(String yxshj) 
    {
        this.yxshj = yxshj;
    }

    public String getYxshj() 
    {
        return yxshj;
    }
    public void setPdImg(String pdImg) 
    {
        this.pdImg = pdImg;
    }

    public String getPdImg() 
    {
        return pdImg;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getPdSvg() {
        return pdSvg;
    }

    public void setPdSvg(String pdSvg) {
        this.pdSvg = pdSvg;
    }

    public Long getDataResultId() {
        return dataResultId;
    }

    public void setDataResultId(Long dataResultId) {
        this.dataResultId = dataResultId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pbId", getPbId())
            .append("dataTaskId", getDataTaskId())
            .append("cshType", getCshType())
            .append("pianbdLeft", getPianbdLeft())
            .append("pianbdRight", getPianbdRight())
            .append("yxshj", getYxshj())
            .append("pdImg", getPdImg())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
